package com.tzbank.entity.backstage;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;

import org.hibernate.annotations.Table;

import com.tzbank.entity.BaseModel;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 首页配置信息表 2018-07-06
 * @author wangbin
 *
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_homepage_deployinfo")
@Table(appliesTo = "mb_homepage_deployinfo", comment = "首页配置信息表")
public class HomePageDeploy extends BaseModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5198986919957068013L;

	/**模块ID**/
	@ApiModelProperty(value = "模块ID")
	@Column(name = "module_id", columnDefinition = "varchar(50) NOT NULL COMMENT '模块ID' ")
	private String moduleId;
	
	/**模块排序ID**/
	@ApiModelProperty(value = "模块排序ID")
	@Column(name = "order_id", columnDefinition = "varchar(50) NOT NULL COMMENT '模块排序ID' ")
	private String orderId;
	
	/**图片跳转地址**/
	@ApiModelProperty(value = "图片跳转地址")
	@Column(name = "image_url", columnDefinition = "longtext DEFAULT NULL COMMENT '图片跳转地址' ")
	private String imageUrl;
	
	/**标题**/
	@ApiModelProperty(value = "标题")
	@Column(name = "title", columnDefinition = "varchar(50) DEFAULT NULL COMMENT '标题' ")
	private String title;
	
	/**标题描述**/
	@ApiModelProperty(value = "标题描述")
	@Column(name = "title_message", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '标题描述' ")
	private String titleMessage;
	
	/**点击描述**/
	@ApiModelProperty(value = "点击描述")
	@Column(name = "onclick_message", columnDefinition = "varchar(50) DEFAULT NULL COMMENT '点击描述' ")
	private String onclickMessage;
	
	/**点击访问入口**/
	@ApiModelProperty(value = "点击访问入口")
	@Column(name = "onclick_url", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '点击访问入口' ")
	private String onclickUrl;
	
	/**页面打开类型:h5或者native或者网页**/
	@ApiModelProperty(value = "页面打开类型:h5或者native或者网页")
	@Column(name = "action_type", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '页面打开类型:h5或者native或者网页' ")
	private String actionType;
	
	/**操作人**/
	@ApiModelProperty(value = "操作人")
	@Column(name = "operator", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '操作人' ")
	private String operator;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext1", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext1;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext2", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext2;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext3", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext3;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext4", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext4;
	
	/** 备用字段 **/
	@ApiModelProperty(value = "备用字段")
	@Column(name = "ext5", columnDefinition = "varchar(100) DEFAULT NULL COMMENT '备用字段' ")
	private String ext5;
}
